<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="1500" indicator-color="white">
      <van-swipe-item v-for="item in list" :key="item.id">
        <img :src="item.img" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>
  
  <script>
export default {
  props: ["list"],
};
</script>
  
  <style scoped lang="scss">
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  height: 350px;
  text-align: center;
 
  img{
    width: 100%;height: 100%;
    
  }
}
</style>